﻿using MediatR;
using Medical.Domain.Enum;
using Medical.ErrorCode;

namespace Medical.Api.Write.Application.Command.RecyclingCleaning
{

    /// <summary>
    /// 修改登记清洗状态为清洗完成命令
    /// </summary>
    public class UpdateCleaningCompletedCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 登记清洗Id
        /// </summary>
        public int  Id { get; set; }


        /// <summary>
        /// 完成时间（清洗时间）
        /// </summary>
        public DateTime FinishTime { get; set; } = DateTime.Now;

        /// <summary>
        /// 清洗结果，
        /// 'true'==合格
        /// 'false'==不合格
        /// </summary>
        public bool CleaningResult { get; set; }


        /// <summary>
        /// 完成人
        /// </summary>
        public string FinishPerson { get; set; }


    }
}
